From: Luc Teirlinck Date: Tue, 6 Jul 2004 19:36:56 +0000 (+0000) Subject: (Fclear_string): Correct previous change. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21712 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4b9349821eaf5da27d28551a1ad27bdac38478eb;p=emacs.git (Fclear_string): Correct previous change. --- diff --git a/src/fns.c b/src/fns.c index 4dd04bf0b50..06d04781789 100644 --- a/src/fns.c +++ b/src/fns.c @@ -2370,8 +2370,9 @@ This makes STRING unibyte and may change its length. */) (string) Lisp_Object string; { - int len = SBYTES (string); + int len; CHECK_STRING (string); + len = SBYTES (string); bzero (SDATA (string), len); STRING_SET_CHARS (string, len); STRING_SET_UNIBYTE (string);